package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：碳汇管理响应结果
 * @Date：Create by 2023-12-04 15:28:53
 */
@Data
@ToString
@ApiModel("碳汇管理响应结果")
public class CarbonSinkResp extends BaseResp implements ISceneInfoResp {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目Id")
    private String sceneProjectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("所属场景")
    private String sceneInfoName;

    private String sceneEdificeId;

    private String edificeName;

    private String sceneFloorId;

    private String sceneRoomId;

    @ApiModelProperty("种植方式id")
    @Dict(dictCode = "CarbonSinkFactorSelected", isBean = true)
    private String carbonSinkId;

    /* 名称类型 */
    @ApiModelProperty("名称类型")
    private String type;

    /* 面积（㎡） */
    @ApiModelProperty("面积")
    private BigDecimal area;

    public String getTypeName(){
        return type;
    }
}
